package org.kwisatz.proxybot.test;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;

import org.kwisatz.proxybot.core.Parser;

public class Main
{
	public static void main(String[] args)
	{
		try
		{			
			String line=":irc5.chat-land.org 332 KwisatzHaderach #Informatique :\uc285 coucou \uc285";
			PrintStream p = new PrintStream(new FileOutputStream("/tmp/toto.txt"));
			p.write(0xc285);
			p.print("coucou");
			p.write(0xc285);
			System.out.println((int)line.charAt(line.length()-1));
			System.out.println(new Parser().parse(line));			
			new TestBookmark();
			new TestMemory();
			new TestTopic();
		}
		catch(Exception ex)
		{
			ex.printStackTrace();
		}
	}
}
